home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / hpprint.zoo / hpprint.man < prev    next >
Text File  |  1993-01-06  |  3KB  |  77 lines

  1. HPPRINT            Utilities            HPPRINT
  2.  
  3. hpprint [options] [file [...]]
  4.  
  5. options:
  6.     -r    reverse the page order, i.e. print the last page first.
  7.         This uses temporary files with the name "hpprint.*".  
  8.         Files are stored in the directory specified by the TMPDIR
  9.         environment variable exists.  Else the files are stored
  10.         under "c:\".
  11.  
  12.     -w    wrap long lines.  The default action is to truncate long
  13.         lines at 80 characters.
  14.  
  15.     -3    leave room for a three hole punch at the "top" of the page.
  16.         This leaves 1/2 " free at the top and shortens a page by
  17.         6 lines (3 if using -l).
  18.  
  19.     -s    strip control characters.  Control characters other than
  20.         LF, CR, TAB, and FF are ignored.  Normally these characters
  21.         are included and could change the formating of the document.
  22.  
  23.     -f    turn on CR to CR/LF translation.
  24.  
  25.     -l    use large print.  Normally hpprint uses a 6 point font for
  26.         the main text - this will cause it to use a 12 point font.
  27.         Characters are still packed in at 16.67/inch horizontally.
  28.  
  29.     -tn    set tab expansion to n.  The default if -t is not specified
  30.         is 8.  If -t is specified without a number it will default
  31.         to 4.  'n' must be a single digit from 0 to 9.
  32.  
  33. Notes:
  34.      1.    Options may occur in any order and can be combined with the following
  35.     exception:  the -3 option cannot occur directly after the -t option
  36.     as it would be taken as -t3 (i.e. set tab stops every 3 characters).
  37.  
  38.      2.    Options are case insensitive.
  39.  
  40.      3. A command line argument that begins with a '-' is assumed to be an
  41.     option.  Anything else is taken to be a file name.
  42.     
  43.  
  44. Hpprint prints out the specified files, or standard input, in a boxed format
  45. sideways on a HP Deskjet 500.  This should work for any printer in the Desk
  46. Jet family.
  47.  
  48. The printing is formatted as follows:
  49.     File name
  50.     file statistics
  51.     ---------------------------------
  52.     | page 1    | page 2    |
  53.     |        |        |
  54.     |        |        |
  55.     |        |        |
  56.     |        |        |
  57.     ---------------------------------
  58.  
  59. The options -3 and -l will affect how many lines will be printed per "page".
  60.  
  61. If files are listed on the command line they will be printed (in reverse
  62. order).  If no files are listed standard input is printed with the file name
  63. of "(stdin)".  It is assumed that wild cards in the filenames will be expanded
  64. by the command shell.
  65.  
  66. Note: I haven't been able to get it to work with stdin from the keyboard or in
  67. a pipeline with my system.  However, it works fine with redirected stdin.
  68.  
  69. Lines per page:
  70.  
  71.     |    |  -l    |
  72. --------+-------+-------+
  73.     |   83    |  41    |
  74. --------+-------+-------+
  75.    -3    |   77    |  38    |
  76. --------+-------+-------+
  77.